<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('修改报名学生基础信息')" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-base-edit" th:object="${sysStuBase}">
            <input name="stuSno" th:field="*{stuSno}" type="hidden">
            <div class="form-group">    
                <label class="col-sm-3 control-label is-required">姓名：</label>
                <div class="col-sm-8">
                    <input name="stuName" th:field="*{stuName}" class="form-control" type="text" required>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">电话：</label>
                <div class="col-sm-8">
                    <input name="stuPhone" th:field="*{stuPhone}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">原班级：</label>
                <div class="col-sm-8">
                    <input name="stuClass" th:field="*{stuClass}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">C语言：</label>
                <div class="col-sm-8">
                    <input name="stuC" th:field="*{stuC}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">大学英语：</label>
                <div class="col-sm-8">
                    <input name="stuEnglish" th:field="*{stuEnglish}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">高等数学：</label>
                <div class="col-sm-8">
                    <input name="stuMath" th:field="*{stuMath}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">机试成绩：</label>
                <div class="col-sm-8">
                    <input name="computerTest" th:field="*{computerTest}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">面试成绩：</label>
                <div class="col-sm-8">
                    <input name="meetTest" th:field="*{meetTest}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">机试成绩：</label>
                <div class="col-sm-8">
                    <input name="computerTest1" th:field="*{computerTest1}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">机试成绩：</label>
                <div class="col-sm-8">
                    <input name="computerTest2" th:field="*{computerTest2}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label is-required">机试成绩：</label>
                <div class="col-sm-8">
                    <input name="computerTest3" th:field="*{computerTest3}" class="form-control" type="text" required>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">机试成绩：</label>
                <div class="col-sm-8">
                    <input name="computerTest4" th:field="*{computerTest4}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">机试成绩：</label>
                <div class="col-sm-8">
                    <input name="computerTest5" th:field="*{computerTest5}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">面试成绩：</label>
                <div class="col-sm-8">
                    <input name="meetTest1" th:field="*{meetTest1}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">面试成绩：</label>
                <div class="col-sm-8">
                    <input name="meetTest2" th:field="*{meetTest2}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">面试成绩：</label>
                <div class="col-sm-8">
                    <input name="meetTest3" th:field="*{meetTest3}" class="form-control" type="text">
                </div>
            </div>
        </form>
    </div>
    <th:block th:include="include :: footer" />
    <script th:inline="javascript">
        var prefix = ctx + "system/base";
        $("#form-base-edit").validate({
            focusCleanup: true
        });

        function submitHandler() {
            if ($.validate.form()) {
                $.operate.save(prefix + "/edit", $('#form-base-edit').serialize());
            }
        }
    </script>
</body>
</html>